package cn.itcast.hotel.constants;

/**
 * @author Xiao
 * @version 1.0
 * @description RabbitMQ常量
 * @date 2021/11/12
 */
public class MQConstants {
    //交换机
    public static final String HOTEL_EXCHANGE = "hotel.topic";
    //监听新增和修改的队列
    public static final String HOTEL_INSERT_QUEUE = "hotel.insert.queue";
    //监听删除的队列
    public static final String HOTEL_DELETE_QUEUE = "hotel.delete.queue";
    //新增或修改的RoutingKey
    public static final String HOTEL_INSERT_KEY = "hotel.insert";
    //删除的RoutingKey
    public static final String HOTEL_DELETE_KEY = "hotel.delete";
}